<?php
include "jssdk.php";
include 'config.php';
$jssdk = new JSSDK($config['AppId'], $config['AppSecret']);
$url = $_GET['url'];
$signPackage = $jssdk->GetSignPackage($url);
echo json_encode(array("code"=>0,"data"=>$signPackage,"msg"=>"成功"));
?>
